package com.helpers;

import java.util.Date;
import java.util.HashSet;

import com.model.Activity;
import com.model.Employee;
import com.model.Task;

public class ActivityHelper {

	public static Activity createActivity()
	{
		Activity activity = new Activity();
		activity.setName("Activity 1");
		activity.setVisible(true);
		activity.setDescription("Activity Description");
		activity.setProgress(87);
		activity.setStartDate(new Date(0));
		activity.setFinishDate(new Date(10));
		activity.setTasks(new HashSet<Task>());
		return activity;
	}

	public static Activity createActivityForEmployee(Employee employee) {
		Activity activity = createActivity();
		activity.setEmployeeCreator(employee);
		return activity;
	}
	
}
